/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:龙宝
 * Date:2023-12-01
 * Time:11:23
 */
public class Thread8 {
    private static volatile Thread8  t = null;
    public static Thread8 getT() {
        if(t == null) {
            synchronized (Thread8.class) {
                if(t == null) {
                    t = new Thread8();
                }
            }
        }
        return t;
    }

}
